package com.tigerhhzz.springcloud.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.tigerhhzz.springcloud.entities.CommonResult;


/**
 * @author tigerhhzz
 * @date 2023/4/22 14:54
 */
public class Customerhandler {

    public static CommonResult handlerException(BlockException exception) {
        return new CommonResult(444,"按客户自定义，global handlerException----------1");
    }

    public static CommonResult handlerException2(BlockException exception) {
        return new CommonResult(444,"按客户自定义，global handlerException----------2");
    }
}
